//
//  TestListBaseView.h
//  JXCategoryView
//
//  Created by jiaxin on 2018/8/27.
//  Copyright © 2018年 jiaxin. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "JXPagingView.h"
#import "MHDataSource.h"

@protocol MHCommonTableListViewDelegate <NSObject>
- (void)listViewDidScroll:(UIScrollView *)scrollView;
@end

@interface MHCommonTableBoxView : UIView <JXPagingViewListViewDelegate>

@property (nonatomic, strong) UITableView *tableView;
//@property (nonatomic, strong) NSArray <NSString *> *dataSource;
@property (nonatomic, weak) id<MHCommonTableListViewDelegate> delegate;
@property(nonatomic, assign) int pageIndex;
@property(nonatomic, assign) int perPage;
@property(nonatomic, assign) BOOL shouldPullUpToLoadMore;
//@property (nonatomic, strong) UIView             *splitLine;
@property(nonatomic, copy) VoidBlock_id refreshFooterDataBlock;
- (instancetype)initWithFrame:(CGRect)frame dataSource:(MHDataSource *)dataSource;
@property(nonatomic, strong) MHDataSource *dataSource;



@end
